package com.baselibrary;

import java.io.Serializable;
import java.util.List;

public class UserInfo implements Serializable {
    public static final int LOG_OFF = 3;
    private static final long serialVersionUID = -1532587030273442006L;
    private boolean success;
    private DataBean data = new DataBean();
    private int code;
    private String msg;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public DataBean getData() {
        if (data == null)
            return new DataBean();
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean implements Serializable {

        private static final long serialVersionUID = 3503240602364507652L;
        private int id = 0;
        private int rand;
        private int userType;
        private int userRank;
        private String phone;
        private String weixinId;
        private String qqId;
        private int sid;
        //头像编辑状态 0未编辑 1已编辑
        private int photoEditType;
        private int nameEditType;
        private int status;// 3 = 已注销


        private int focus;//是否关注 0未关注 1已关注
        private String name;
        private String icon;
        private String desc;
        private int sex;//下楼取快递:0未知 1男 2女
        private String birthdate;
        private int age;
        private String ageStage;
        private int score;
        private int isChannel;
        private int isForum;
        private int isWinery;
        private long ctime;
        private long utime;
        private long lastTime;
        private int equipment;
        private int provinceId;
        private int cityId;
        private int districtId;
        private int push;
        private int aid;
        private int addFriendSetting;
        private int dynamic;
        //动态发布数
        private int dynamicCount;
        //用户收藏总数量
        private int myFavoriteCount;
        //好友数
        private int friendCount;
        //用户未处理好友申请数量
        private int friendMessageCount;
        private int channel;
        private int forum;
        private int tag;
        private int allSupportNum;
        private long userSumSupportNum;
        private String token = "";
        private int isAdvisor;
        private String rongToken = "";
        private int registerType;
        private boolean register;
        private int registerTime;

        public int getRegisterTime() {
            return registerTime;
        }

        public void setRegisterTime(int registerTime) {
            this.registerTime = registerTime;
        }

        private int friendState;//0 非互相关注  1 我已关注对方，但对方未关注我 2 我未关注对方，对方已关注我 3 互相关注

        public int isFriends() {
            return friendState;
        }

        public void setFriends(int friends) {
            this.friendState = friends;
        }

        private List<?> rids;
        private String remark;

        private int focusNum;
        private int fansNum;
        private int numberJiuShiDi;

        private String height;
        private String weight;

        private int isFans;

        public long getUserSumSupportNum() {
            return userSumSupportNum;
        }

        public void setUserSumSupportNum(long userSumSupportNum) {
            this.userSumSupportNum = userSumSupportNum;
        }

        public int getFocus() {
            return focus;
        }

        public void setFocus(int focus) {
            this.focus = focus;
        }

        public int getPhotoEditType() {
            return photoEditType;
        }

        public int getNameEditType() {
            return nameEditType;
        }

        public void setNameEditType(int nameEditType) {
            this.nameEditType = nameEditType;
        }

        public void setPhotoEditType(int photoEditType) {
            this.photoEditType = photoEditType;
        }

        public int getDynamicCount() {
            return dynamicCount;
        }

        public void setDynamicCount(int dynamicCount) {
            this.dynamicCount = dynamicCount;
        }

        public int getIsFans() {
            return isFans;
        }

        public void setIsFans(int isFans) {
            this.isFans = isFans;
        }

        public int getIsAdvisor() {
            return isAdvisor;
        }

        public void setIsAdvisor(int isAdvisor) {
            this.isAdvisor = isAdvisor;
        }

        public int getFriendCount() {
            return friendCount;
        }

        public int getFriendMessageCount() {
            return friendMessageCount;
        }

        public void setFriendMessageCount(int friendMessageCount) {
            this.friendMessageCount = friendMessageCount;
        }

        public void setFriendCount(int friendCount) {
            this.friendCount = friendCount;
        }

        public String getHeight() {
            return height;
        }

        public void setHeight(String height) {
            this.height = height;
        }

        public String getWeight() {
            return weight;
        }

        public void setWeight(String weight) {
            this.weight = weight;
        }

        public String getQqId() {
            return qqId;
        }

        public void setQqId(String qqId) {
            this.qqId = qqId;
        }

        public String getWeixinId() {
            return weixinId;
        }

        public int getMyFavoriteCount() {
            return myFavoriteCount;
        }

        public void setMyFavoriteCount(int myFavoriteCount) {
            this.myFavoriteCount = myFavoriteCount;
        }

        public void setWeixinId(String weixinId) {
            this.weixinId = weixinId;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getRand() {
            return rand;
        }

        public void setRand(int rand) {
            this.rand = rand;
        }

        public int getUserType() {
            return userType;
        }

        public void setUserType(int userType) {
            this.userType = userType;
        }

        public int getUserRank() {
            return userRank;
        }

        public void setUserRank(int userRank) {
            this.userRank = userRank;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public int getSid() {
            return sid;
        }

        public void setSid(int sid) {
            this.sid = sid;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public int getSex() {
            return sex;
        }

        public void setSex(int sex) {
            this.sex = sex;
        }

        public String getBirthdate() {
            return birthdate;
        }

        public void setBirthdate(String birthdate) {
            this.birthdate = birthdate;
        }

        public int getAge() {
            return age;
        }

        public void setAge(int age) {
            this.age = age;
        }

        public String getAgeStage() {
            return ageStage;
        }

        public void setAgeStage(String ageStage) {
            this.ageStage = ageStage;
        }

        public int getScore() {
            return score;
        }

        public void setScore(int score) {
            this.score = score;
        }

        public int getIsChannel() {
            return isChannel;
        }

        public void setIsChannel(int isChannel) {
            this.isChannel = isChannel;
        }

        public int getIsForum() {
            return isForum;
        }

        public void setIsForum(int isForum) {
            this.isForum = isForum;
        }

        public int getIsWinery() {
            return isWinery;
        }

        public void setIsWinery(int isWinery) {
            this.isWinery = isWinery;
        }

        public long getCtime() {
            return ctime;
        }

        public void setCtime(long ctime) {
            this.ctime = ctime;
        }

        public long getUtime() {
            return utime;
        }

        public void setUtime(long utime) {
            this.utime = utime;
        }

        public long getLastTime() {
            return lastTime;
        }

        public void setLastTime(long lastTime) {
            this.lastTime = lastTime;
        }

        public int getEquipment() {
            return equipment;
        }

        public void setEquipment(int equipment) {
            this.equipment = equipment;
        }

        public int getProvinceId() {
            return provinceId;
        }

        public void setProvinceId(int provinceId) {
            this.provinceId = provinceId;
        }

        public int getCityId() {
            return cityId;
        }

        public void setCityId(int cityId) {
            this.cityId = cityId;
        }

        public int getDistrictId() {
            return districtId;
        }

        public void setDistrictId(int districtId) {
            this.districtId = districtId;
        }

        public int getPush() {
            return push;
        }

        public void setPush(int push) {
            this.push = push;
        }

        public int getAid() {
            return aid;
        }

        public void setAid(int aid) {
            this.aid = aid;
        }

        public int getAddFriendSetting() {
            return addFriendSetting;
        }

        public void setAddFriendSetting(int addFriendSetting) {
            this.addFriendSetting = addFriendSetting;
        }

        public int getDynamic() {
            return dynamic;
        }

        public void setDynamic(int dynamic) {
            this.dynamic = dynamic;
        }

        public int getChannel() {
            return channel;
        }

        public void setChannel(int channel) {
            this.channel = channel;
        }

        public int getForum() {
            return forum;
        }

        public void setForum(int forum) {
            this.forum = forum;
        }

        public int getTag() {
            return tag;
        }

        public void setTag(int tag) {
            this.tag = tag;
        }

        public int getAllSupportNum() {
            return allSupportNum;
        }

        public void setAllSupportNum(int allSupportNum) {
            this.allSupportNum = allSupportNum;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public String getRongToken() {
            return rongToken;
        }

        public void setRongToken(String rongToken) {
            this.rongToken = rongToken;
        }

        public int getRegisterType() {
            return registerType;
        }

        public void setRegisterType(int registerType) {
            this.registerType = registerType;
        }

        public boolean isRegister() {
            return register;
        }

        public void setRegister(boolean register) {
            this.register = register;
        }

        public List<?> getRids() {
            return rids;
        }

        public void setRids(List<?> rids) {
            this.rids = rids;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public int getFocusNum() {
            return focusNum;
        }

        public void setFocusNum(int focusNum) {
            this.focusNum = focusNum;
        }

        public int getFansNum() {
            return fansNum;
        }

        public void setFansNum(int fansNum) {
            this.fansNum = fansNum;
        }

        public int getNumberJiuShiDi() {
            return numberJiuShiDi;
        }

        public void setNumberJiuShiDi(int numberJiuShiDi) {
            this.numberJiuShiDi = numberJiuShiDi;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "id=" + id +
                    ", rand=" + rand +
                    ", userType=" + userType +
                    ", userRank=" + userRank +
                    ", phone='" + phone + '\'' +
                    ", weixinId='" + weixinId + '\'' +
                    ", qqId='" + qqId + '\'' +
                    ", sid=" + sid +
                    ", photoEditType=" + photoEditType +
                    ", nameEditType=" + nameEditType +
                    ", status=" + status +
                    ", focus=" + focus +
                    ", name='" + name + '\'' +
                    ", icon='" + icon + '\'' +
                    ", desc='" + desc + '\'' +
                    ", sex=" + sex +
                    ", birthdate='" + birthdate + '\'' +
                    ", age=" + age +
                    ", ageStage='" + ageStage + '\'' +
                    ", score=" + score +
                    ", isChannel=" + isChannel +
                    ", isForum=" + isForum +
                    ", isWinery=" + isWinery +
                    ", ctime=" + ctime +
                    ", utime=" + utime +
                    ", lastTime=" + lastTime +
                    ", equipment=" + equipment +
                    ", provinceId=" + provinceId +
                    ", cityId=" + cityId +
                    ", districtId=" + districtId +
                    ", push=" + push +
                    ", aid=" + aid +
                    ", addFriendSetting=" + addFriendSetting +
                    ", dynamic=" + dynamic +
                    ", dynamicCount=" + dynamicCount +
                    ", myFavoriteCount=" + myFavoriteCount +
                    ", friendCount=" + friendCount +
                    ", friendMessageCount=" + friendMessageCount +
                    ", channel=" + channel +
                    ", forum=" + forum +
                    ", tag=" + tag +
                    ", allSupportNum=" + allSupportNum +
                    ", userSumSupportNum=" + userSumSupportNum +
                    ", token='" + token + '\'' +
                    ", isAdvisor=" + isAdvisor +
                    ", rongToken='" + rongToken + '\'' +
                    ", registerType=" + registerType +
                    ", register=" + register +
                    ", registerTime=" + registerTime +
                    ", friendState=" + friendState +
                    ", rids=" + rids +
                    ", remark='" + remark + '\'' +
                    ", focusNum=" + focusNum +
                    ", fansNum=" + fansNum +
                    ", numberJiuShiDi=" + numberJiuShiDi +
                    ", height='" + height + '\'' +
                    ", weight='" + weight + '\'' +
                    ", isFans=" + isFans +
                    '}';
        }
    }
}
